<?php
/**
 * Created by leiying
 * Date: 2018/3/7
 * Time: 15:02
 */

namespace Admin\Controller;

class SysApiController extends AdminController {
    public function __construct(){
        parent::construct();
        $token = $_REQUEST['token'];
        $verifyToken = '15102775120';
        if($verifyToken !== $token){
            $return = array(
                'errorMessage' => 'Token无效',
                'errorCode' => 'L01',
                'status' => 0,
            );
            die(json_encode($return,true));
        }
    }

    public function startSettle(){
        echo 'hello';
    }

}